/* satellite zenith angles and their tref values to calculate 39-40-tref */

#define NSENZ 261  /* Number of tref values by sensor zenith angle */

static float sza[NSENZ] = {
    -65.0,
    -64.5,
    -64.0,
    -63.5,
    -63.0,
    -62.5,
    -62.0,
    -61.5,
    -61.0,
    -60.5,
    -60.0,
    -59.5,
    -59.0,
    -58.5,
    -58.0,
    -57.5,
    -57.0,
    -56.5,
    -56.0,
    -55.5,
    -55.0,
    -54.5,
    -54.0,
    -53.5,
    -53.0,
    -52.5,
    -52.0,
    -51.5,
    -51.0,
    -50.5,
    -50.0,
    -49.5,
    -49.0,
    -48.5,
    -48.0,
    -47.5,
    -47.0,
    -46.5,
    -46.0,
    -45.5,
    -45.0,
    -44.5,
    -44.0,
    -43.5,
    -43.0,
    -42.5,
    -42.0,
    -41.5,
    -41.0,
    -40.5,
    -40.0,
    -39.5,
    -39.0,
    -38.5,
    -38.0,
    -37.5,
    -37.0,
    -36.5,
    -36.0,
    -35.5,
    -35.0,
    -34.5,
    -34.0,
    -33.5,
    -33.0,
    -32.5,
    -32.0,
    -31.5,
    -31.0,
    -30.5,
    -30.0,
    -29.5,
    -29.0,
    -28.5,
    -28.0,
    -27.5,
    -27.0,
    -26.5,
    -26.0,
    -25.5,
    -25.0,
    -24.5,
    -24.0,
    -23.5,
    -23.0,
    -22.5,
    -22.0,
    -21.5,
    -21.0,
    -20.5,
    -20.0,
    -19.5,
    -19.0,
    -18.5,
    -18.0,
    -17.5,
    -17.0,
    -16.5,
    -16.0,
    -15.5,
    -15.0,
    -14.5,
    -14.0,
    -13.5,
    -13.0,
    -12.5,
    -12.0,
    -11.5,
    -11.0,
    -10.5,
    -10.0,
    -9.5,
    -9.0,
    -8.5,
    -8.0,
    -7.5,
    -7.0,
    -6.5,
    -6.0,
    -5.5,
    -5.0,
    -4.5,
    -4.0,
    -3.5,
    -3.0,
    -2.5,
    -2.0,
    -1.5,
    -1.0,
    -0.5,
    0.0,
    0.5,
    1.0,
    1.5,
    2.0,
    2.5,
    3.0,
    3.5,
    4.0,
    4.5,
    5.0,
    5.5,
    6.0,
    6.5,
    7.0,
    7.5,
    8.0,
    8.5,
    9.0,
    9.5,
    10.0,
    10.5,
    11.0,
    11.5,
    12.0,
    12.5,
    13.0,
    13.5,
    14.0,
    14.5,
    15.0,
    15.5,
    16.0,
    16.5,
    17.0,
    17.5,
    18.0,
    18.5,
    19.0,
    19.5,
    20.0,
    20.5,
    21.0,
    21.5,
    22.0,
    22.5,
    23.0,
    23.5,
    24.0,
    24.5,
    25.0,
    25.5,
    26.0,
    26.5,
    27.0,
    27.5,
    28.0,
    28.5,
    29.0,
    29.5,
    30.0,
    30.5,
    31.0,
    31.5,
    32.0,
    32.5,
    33.0,
    33.5,
    34.0,
    34.5,
    35.0,
    35.5,
    36.0,
    36.5,
    37.0,
    37.5,
    38.0,
    38.5,
    39.0,
    39.5,
    40.0,
    40.5,
    41.0,
    41.5,
    42.0,
    42.5,
    43.0,
    43.5,
    44.0,
    44.5,
    45.0,
    45.5,
    46.0,
    46.5,
    47.0,
    47.5,
    48.0,
    48.5,
    49.0,
    49.5,
    50.0,
    50.5,
    51.0,
    51.5,
    52.0,
    52.5,
    53.0,
    53.5,
    54.0,
    54.5,
    55.0,
    55.5,
    56.0,
    56.5,
    57.0,
    57.5,
    58.0,
    58.5,
    59.0,
    59.5,
    60.0,
    60.5,
    61.0,
    61.5,
    62.0,
    62.5,
    63.0,
    63.5,
    64.0,
    64.5,
    65.0
};

static float trefv6[NSENZ] = {
    4.00043494429084,
    3.96737748403161,
    3.93432002377237,
    3.90126256351314,
    3.86820510325391,
    3.83514764299467,
    3.80209018273544,
    3.7690327224762,
    3.73597526221697,
    3.70291780195773,
    3.6698603416985,
    3.63699690310018,
    3.60453709727199,
    3.57249995566819,
    3.54088709887041,
    3.50969704664452,
    3.47893332636617,
    3.44860071731347,
    3.4187032530451,
    3.38924198424204,
    3.36021831900312,
    3.33163807797616,
    3.30350659734996,
    3.27582286292816,
    3.24858427291809,
    3.22178795736811,
    3.19542997369068,
    3.16950528572844,
    3.14400555568065,
    3.11892162033571,
    3.09424722781307,
    3.06998777155624,
    3.04614412332135,
    3.02268742279094,
    2.99959740390199,
    2.97691790968294,
    2.95470881043509,
    2.93301842580077,
    2.91184887278643,
    2.89118750866674,
    2.87100885442513,
    2.85128480095731,
    2.83198955509914,
    2.81309790267152,
    2.79458699212561,
    2.77644342243359,
    2.7586507472102,
    2.74117088811928,
    2.72396035883698,
    2.70700727810895,
    2.69042618495878,
    2.67433680928865,
    2.65875322423704,
    2.64365814895663,
    2.62901454342062,
    2.61478042780735,
    2.60091436746876,
    2.58737710845106,
    2.57413246461089,
    2.56115434035212,
    2.54841400421802,
    2.53586209076211,
    2.52344407604044,
    2.51111841025614,
    2.49889544020042,
    2.48681001862526,
    2.47494312553759,
    2.46338727275805,
    2.45220629047633,
    2.44134928235836,
    2.43075308207769,
    2.42042016986238,
    2.41036147587223,
    2.40055608343941,
    2.39097511418923,
    2.38159555487476,
    2.37241785276018,
    2.36343953969888,
    2.35462302538976,
    2.34593344978803,
    2.33738199602851,
    2.32899135804091,
    2.32079107553055,
    2.31283807130501,
    2.30518055336509,
    2.29780448738189,
    2.2906802784441,
    2.28378348008663,
    2.27711023962909,
    2.27065854781644,
    2.26441317531016,
    2.25835666660662,
    2.25247588162539,
    2.2467587591418,
    2.24119409109417,
    2.23577408207274,
    2.23048801260329,
    2.22531005430177,
    2.22022327961694,
    2.21526147323852,
    2.21047109791646,
    2.2058892633328,
    2.20151566689794,
    2.19734134048366,
    2.19336006607898,
    2.18956631320223,
    2.18595452386627,
    2.18251903006199,
    2.17925411099253,
    2.17615394473195,
    2.17321272667211,
    2.17042482260546,
    2.16778464092456,
    2.16528651828992,
    2.16292450443383,
    2.16069251716608,
    2.15858423353469,
    2.15659694696755,
    2.15474265717378,
    2.1530370404328,
    2.15149231112505,
    2.15010683603508,
    2.14887660163926,
    2.14780192077735,
    2.1468841878799,
    2.14612435795648,
    2.14552162833254,
    2.14507508673542,
    2.14478514018392,
    2.14465235239248,
    2.14467659456662,
    2.14485756478461,
    2.14519509213221,
    2.14568952972501,
    2.14634118252873,
    2.14714963887979,
    2.1481141404935,
    2.14923325923003,
    2.15050539948574,
    2.15192940295736,
    2.15350586054308,
    2.15523574736777,
    2.15711982626161,
    2.15915880698113,
    2.16135316585215,
    2.16370244547791,
    2.16620657416366,
    2.16886795674562,
    2.17168870272253,
    2.17466726371225,
    2.17780117686239,
    2.18109019104591,
    2.184542902037,
    2.18816474146179,
    2.19193963745305,
    2.19584722767126,
    2.1998714913813,
    2.20399749324911,
    2.20821684309968,
    2.21254733139411,
    2.21701024445763,
    2.22161467143588,
    2.22636665217962,
    2.23127381689877,
    2.23635015724006,
    2.24160974824439,
    2.24706063709273,
    2.2527105264562,
    2.25857176882645,
    2.26465787915021,
    2.27098109295344,
    2.27754852807888,
    2.28434809784974,
    2.29129601519432,
    2.29831288997248,
    2.30540862016517,
    2.31261542578365,
    2.31996181498688,
    2.32746144852483,
    2.33512715589368,
    2.34298328898357,
    2.35105708028316,
    2.35937169399188,
    2.36793402115246,
    2.37675500985453,
    2.38587810953232,
    2.39534250552201,
    2.40513782542301,
    2.41524130740052,
    2.42561973653493,
    2.43619808556734,
    2.44691444306099,
    2.45780117320719,
    2.46890657879602,
    2.48024844138468,
    2.49183691222218,
    2.50368433055005,
    2.51581178757992,
    2.52824210338035,
    2.54099626147735,
    2.5540947862613,
    2.56755683145943,
    2.58139606814643,
    2.59559471498815,
    2.6100146636677,
    2.62452583631377,
    2.63915060382021,
    2.65394944927214,
    2.66898017018633,
    2.6842898218063,
    2.69992002294511,
    2.71590138896743,
    2.73226906434082,
    2.74908731339282,
    2.76642768041598,
    2.78433963774085,
    2.80278436984998,
    2.82169989062934,
    2.84101981942659,
    2.86067667695479,
    2.88062977128362,
    2.90094555990906,
    2.92170038966286,
    2.94290301529342,
    2.9645537183576,
    2.98668647972944,
    3.00934370511227,
    3.03256151721273,
    3.05635090675071,
    3.08070222844321,
    3.10554842498241,
    3.13082447907562,
    3.15653094551529,
    3.18268477211519,
    3.20930000374378,
    3.23637907348833,
    3.26392314923138,
    3.29193994981782,
    3.32043883183311,
    3.34942809308694,
    3.37891179628606,
    3.40889196095907,
    3.43936666902519,
    3.47033266046331,
    3.50178524510037,
    3.53371937522539,
    3.56613065550839,
    3.59901730014368,
    3.63237684000112,
    3.66620146312857,
    3.70048202186842,
    3.73498749919525,
    3.76949297652208,
    3.80399845384891,
    3.83850393117575,
    3.87300940850258,
    3.90751488582941,
    3.94202036315624,
    3.97652584048308,
    4.01103131780991,
    4.04553679513674
};
